package com.dongbao.data;

import lombok.Data;

import java.util.Date;


@Data
public class MessageData {

    /**
     * 消息内容
     * */
    private String content;

    /**
     * 发送时间
     * */
    private Date sendTime;

    /**
     * 发送ip
     * */
    private String sendIp;

    public void setContent(String content){
        this.content = content;
    }

    public String getContent(){
        return this.content;
    }

    public void setSendTime(Date sendTime){
        this.sendTime = sendTime;
    }

    public Date getSendTime(){
        return this.sendTime;
    }

    public void setSendIp(String sendIp){
        this.sendIp = sendIp;
    }

    public String getSendIp(){
        return this.sendIp;
    }


    public MessageData(){

    }

    public MessageData(String content,Date sendTime,String sendIp){
        this.content = content;
        this.sendTime = sendTime;
        this.sendIp = sendIp;
    }

}
